.class Lcom/htc/android/footprints/activity/ListModeNewActivity$10;
.super Ljava/lang/Object;
.source "ListModeNewActivity.java"

# interfaces
.implements Landroid/content/DialogInterface$OnClickListener;


# annotations
.annotation system Ldalvik/annotation/EnclosingMethod;
    value = Lcom/htc/android/footprints/activity/ListModeNewActivity;->onCreateDialog(I)Landroid/app/Dialog;
.end annotation

.annotation system Ldalvik/annotation/InnerClass;
    accessFlags = 0x0
    name = null
.end annotation


# instance fields
.field final synthetic this$0:Lcom/htc/android/footprints/activity/ListModeNewActivity;


# direct methods
.method constructor <init>(Lcom/htc/android/footprints/activity/ListModeNewActivity;)V
    .locals 0
    .parameter

    .prologue
    .line 591
    iput-object p1, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$10;->this$0:Lcom/htc/android/footprints/activity/ListModeNewActivity;

    invoke-direct {p0}, Ljava/lang/Object;-><init>()V

    return-void
.end method


# virtual methods
.method public onClick(Landroid/content/DialogInterface;I)V
    .locals 4
    .parameter "dialog"
    .parameter "chich"

    .prologue
    .line 592
    invoke-interface {p1}, Landroid/content/DialogInterface;->dismiss()V

    .line 593
    iget-object v0, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$10;->this$0:Lcom/htc/android/footprints/activity/ListModeNewActivity;

    invoke-virtual {v0}, Lcom/htc/android/footprints/activity/ListModeNewActivity;->getApplicationContext()Landroid/content/Context;

    move-result-object v0

    iget-object v1, p0, Lcom/htc/android/footprints/activity/ListModeNewActivity$10;->this$0:Lcom/htc/android/footprints/activity/ListModeNewActivity;

    #getter for: Lcom/htc/android/footprints/activity/ListModeNewActivity;->selectedFootprint:Lcom/htc/android/footprints/vo/Footprint;
    invoke-static {v1}, Lcom/htc/android/footprints/activity/ListModeNewActivity;->access$1400(Lcom/htc/android/footprints/activity/ListModeNewActivity;)Lcom/htc/android/footprints/vo/Footprint;

    move-result-object v1

    invoke-static {v0, v1}, Lcom/htc/android/footprints/utils/FootprintUtils;->deleteFootprint(Landroid/content/Context;Lcom/htc/android/footprints/vo/Footprint;)V

    .line 594
    new-instance v0, Landroid/os/Handler;

    invoke-direct {v0}, Landroid/os/Handler;-><init>()V

    new-instance v1, Lcom/htc/android/footprints/activity/ListModeNewActivity$10$1;

    invoke-direct {v1, p0}, Lcom/htc/android/footprints/activity/ListModeNewActivity$10$1;-><init>(Lcom/htc/android/footprints/activity/ListModeNewActivity$10;)V

    const-wide/16 v2, 0x12c

    invoke-virtual {v0, v1, v2, v3}, Landroid/os/Handler;->postDelayed(Ljava/lang/Runnable;J)Z

    .line 599
    return-void
.end method
